<nz-code-editor
  style="width: 100%; height: 500px; padding-top: 1rem"
  class="editor"
  [ngModel]="code"
  [nzEditorOption]="editorOptions"
></nz-code-editor>
